Installation

Follow the steps below to get started with your Site Template:

  1. Unzip the downloaded zip file themeforest-xxxxx.zip folder
  2. Open folder named main-file
  3. Here you will find assets folders of all files
  4. You will need to Upload these files to your Web Server using FTP in order to use it on your Website.
  5. Make sure you upload the required files/folders listed below:
      - Followings are files and sub-folders saved in this folder

    • css - Extra Stylesheets Folder plus Main Stylesheet File
    • images - Images Folder
    • js - Javacripts Folder
    • .html extension files - main page template File
  6. You will need to Upload these files to your Web Server using FTP in order to use it on your Website and give the paths of files in .html extension files.
  7. You're now good to go..! Start adding your Content and show off your Brand New Beautiful Website in style.

HTML Structure

Cafe360 follows a simple coding structure. here is the sample:

<!DOCTYPE html>
<html dir="ltr" lang="en">

  <!-- All your metas will be here -->

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=9">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

<head>

  <!-- Your Stylesheets, Title -->
	...

</head>

<body data-spy="scroll" data-target="#myHeader">

<!-- The Preloader Before Site Load -->
<div class="preloader">
  ....
</div>

<!-- Page Wrapper -->
<div id="wrap">  
      <!-- Header -->
      <header>
      ...
      </header>

    <!-- All Content sections -->
    <section>
      <div class="container">
        ...
      </div>
    </section>

</div>

  <!-- Footer -->
  <footer>
    <div class="container">
      ...
      <!-- Copyrights -->
    </div>
  </footer>

  <!-- Scroll Bottom to Top Button -->
  <span class="scroll-top">
    ...
  </span>

<!-- Your All Scripts will be here ->
	...

</body>
</html>

Favicons

You can add a Favicon to your Website using the following code just bottom to the Stylesheet files links:

<link rel="icon" href="assets/images/logo/favicon.ico" sizes="32x32">

Dark Page Stucture

Cafe360 follows a simple coding structure for Dark Page template. Code must be same for full page, need to add dark-layout class into body tag. here is the sample:

  <body data-spy="scroll" data-target="#myHeader" class="dark-layout">
    ...
   <body>

FullScreen Menu Page Stucture

Cafe360 follows a simple coding structure for FullScreen Menu Page template. here is the sample:

  <header class="header fullscreen-menu" id="myHeader">
    <!-- Here, full code are same but need to add some class for fullscreen-menu ->
  <header>

Slider Page Stucture

Cafe360 follows a simple coding structure for Main Slider. here is the sample:

  <!-- start slider section ->
  <section class="home-fullwidth-slider">
    ...
  <section>
  <!-- END slider section ->

Background Video Stucture

Cafe360 follows a simple coding structure for set Background Video. You can use video for two way using iframe and video tag. For add the iframe video , you need to check style.js file. where you get iframe video script. hardly check that script and change your video id from videoId: 'F3zw1Gvn4Mk'.

  <!-- Hero Section  Start ->
  <section class="bg-dark-video">
    ...
    <!-- Video BG ->
    <video autoplay loop muted>
        <source src="assets/videos/cafe360-Restaurant_Promo.mp4" type="video/mp4">
    </video>
     
    <!-- iframe video ->
    <div id="player"></div>
    
  <section>
  <!-- Hero Section End ->

Third Party Plugins

Please note that all common plugins are included in assets folder. You can use any plugins from that folder by including them into your html files.

Page Loading Transitions

You can show Interactive loaders to your Visitors while the Pages of your Website loads in the background & then Reveal show Interactive loaders to your Visitors while your Pages with CSS3 Transitions. Page Loading Transitions are enabled by default. To disable the Transition, you can simply remove .preloader Class just after the <body> Tag.

Use Videos & iframe

it possible to show your own videos or other source embed videos. if you want put embed videos then comment code of video tag, otherwise just comment code of iframe tag on the Home slider section. You can find modal-content class name and chanegs as following:

Use Videos

use your own videos into Home slider section video tag

 <div class="modal-body">
    <video>
    ...
    </video>  
  </div>

Use iframe

use videos from other source link like youtube embed videos or vimeo video into Home slider section iframe tag

 <div class="modal-body">
    <iframe>
    ...
    </iframe>  
  </div>

Changing Fonts

Change your Fonts from Google Fonts Library directly if you plan to use a Google Font. You can find the Linking to the Font Files in the head tag

<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;500;600;700&display=swap" rel="stylesheet">

In order to change the Fonts, you will need to Edit the Above Links with your Custom Font, if you plan to use a Google Font or Remove it completely if you plan to use a Self Hosted font. Here is an Example for using Self Hosted Fonts.

By default, Cafe360 uses one Font namely: Josefin Sans from the Google Fonts Library

Website Optimization Tips

A Fast & Optimized Website has several factors which needs to be implemented in order to achieve the desired results. There are several Optimization Techniques available which will definitely affect your Website's Performance in a Positive Way & we want to share a few of them with you:

  • Image Compression & Optimization

    We tend to use Lots of Images on our Websites but we often do not make efforts to Compress & Optimize them. Remember, the Larger the Image, the more time it takes to download and therefore this slows your website loading times affecting User Experience. Your customer will leave your website if it does not load within 3-5 Seconds which adversely affects your Sales. Therefore, it is important to Resize, Optimize & Compress your Images before using it on your Website. Here are some Tips which might come handy in optimizing images:

    • Resize your Images: Resize your Images before using it on your Website. Do not just Download an Image & place it as it is in your Website's <img> Tag without resizing it. The size/resolution of the Image matters since it is not recommended to use an Image size of 1200px x 800px in a Content Size of 300px x 200px as this is unnecessary. Resize it to 300px x 200px
    • Image Formats: There are three common file types that are used for web images which are JPEG, GIF, & PNG. For images with a Flat Background use JPEG images, for images with a Transparent background use PNG images and for images with Animations use GIF images.
    • Compressing Images: Images Compression is important as it considerably reduces the size without losing the quality. There are several FREE Image Optimization Tools available to Download.
      For MAC use ImageOptim
      For Windows use Riot for compressing JPEG Images & PNG Gauntlet for PNG Images.
  • CSS & jQuery Minifications

    It is also recommended that you Combine & Minify all your CSS Files to a single CSS File & all Javascript Files to a single JS File since Minification reduces the size of the File and Combining the files helps in reducing the number of HTTP requests made to the server. This is also an Important Factor in increasing the speed of your website. There are several tools available online to Minify your CSS & JS Files. Our recommendations are:
    For CSS use CSS Minifier and For Javascript use Javascript Minifier.

  • Fast Web Hosting Servers

    A lot depends on your Web Hosting Servers, so it is recommended that you choose a Hosting Company/Server that provides a Reliable & a Fast Hosting Service. You can check out some recommended Hosting Services here: http://themeforest.net/get_hosting.

Header

You can choose the headers while creating your Pages. Default Header with a Transparent Background while turns sticky after a little scrolling &,you can make header without sticky effect for this just remove the #myHeader from the header tag. Simply follow the structure below to create the header:

<!-- Start Header -->
  <header class="header">
  	...
  </header>
<!-- End Header -->  

Header Version 2

You can choose the headers version 2 while creating your Pages. Simply follow the structure below to create the header:

<!-- Start Header -->
  <header class="header v2">
    ...
  </header>
<!-- End Header -->  

Menu Styles

Default Menu Style which aligns to the right, You can use the Menu just as

<nav class="navbar navbar-expand-lg nabar-own">
	...
</nav>
 
     <!-- for Mobile Menu Toggle Button use code below -->         
<nav>
	<button class="navbar-toggler collapsed" type="button" data-toggle="collapse"> </button>
</nav>
           

Page Titles

Default Page Title style with Text aligned Left.

Columns & Grid

Bootstrap Grid

.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-1
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-2
.col-md-3
.col-md-3
.col-md-3
.col-md-3
.col-md-4
.col-md-4
.col-md-4
.col-md-5
.col-md-5
.col-md-2
.col-md-6
.col-md-6
.col-md-1
.col-md-11
.col-md-2
.col-md-10
.col-md-3
.col-md-9
.col-md-4
.col-md-8
.col-md-5
.col-md-7

Slider Types & their Options

Cafe360 includes Sliders are mentioned as follows:

  • bxSliders

    You can find the bxSliders related Documentation here.

    Read bxSliders Docs


  • Slick Slider

    You can find the Slick Slider related Documentation here.

    Read Slick Docs

Introduction

Cafe360 boasts of a many handy Shortcodes which are quite powerful, flexible, functional & easy to use. Setting up shortcodes is very easy & Self Explanatory. Here is the List of Shortcodes included :

  • Animations
  • Buttons
  • Columns
  • Scrolling
  • Container
  • bx Carousels
  • background Shapes
  • Top Item Slider
  • Chef Slider
  • Heading Style
  • Hover Effects
  • Media Embeds
  • Responsive
  • Sections
  • form-control
  • Font Awesome Icon
  • Tabs
  • Testimonials
  • Toggles
  • Header Version 2
  • Top Slider Demo
  • Video Background
  • Fullscreen Menu
  • Comming Soon Page

Each of the above mentioned Shortcodes are easily extendable, flexible & easy to use. You can find the sample codes in their respective files. We are explaining a few of them for your Reference.

Animations

Scroll to reveal Animations are latest in the Trends. You can do them too with Bistro. You can use animations on any element you want. Here is the Sample Code:

<div class="wow fadeInDown" ></div>

You can also use delays for your Animations:

<div data-wow-duration="500ms" data-wow-delay="300ms"></div>

Note: Delay Duration is in milliseconds.

Here is the list of the Animation Types you can use:

  • bounce
  • flash
  • pulse
  • rubberBand
  • shake
  • swing
  • tada
  • wobble
  • bounceIn
  • bounceInDown
  • bounceInLeft
  • bounceInRight
  • bounceInUp
  • bounceOut
  • bounceOutDown
  • bounceOutLeft
  • bounceOutRight
  • bounceOutUp
  • fadeIn
  • fadeInDown
  • fadeInDownBig
  • fadeInLeft
  • fadeInLeftBig
  • fadeInRight
  • fadeInRightBig
  • fadeInUp
  • fadeInUpBig
  • fadeOut
  • fadeOutDown
  • fadeOutDownBig
  • fadeOutLeft
  • fadeOutLeftBig
  • fadeOutRight
  • fadeOutRightBig
  • fadeOutUp
  • fadeOutUpBig
  • flip
  • flipInX
  • flipInY
  • flipOutX
  • flipOutY
  • lightSpeedIn
  • lightSpeedOut
  • rotateIn
  • rotateInDownLeft
  • rotateInDownRight
  • rotateInUpLeft
  • rotateInUpRight
  • rotateOut
  • rotateOutDownLeft
  • rotateOutDownRight
  • rotateOutUpLeft
  • rotateOutUpRight
  • hinge
  • rollIn
  • rollOut
  • zoomIn
  • zoomInDown
  • zoomInLeft
  • zoomInRight
  • zoomInUp
  • zoomOut
  • zoomOutDown
  • zoomOutLeft
  • zoomOutRight
  • zoomOutUp

Widgets

Widgets are simple & easy to setup, completely flexible & can be used anywhere on a page. All possible widgets are placed in side panels:

CSS & Fonts